import {defineStore} from 'pinia'
import {ref} from 'vue'

export const contractsStore = defineStore(
    'contracts',
    () => {

        const contracts = ref([])

        const setContracts = (c) => {
            contracts.value = c
        }

        return {
            contracts,
            setContracts
        }
    },
    {
        persist: true
    }
)